package cn.iocoder.yudao.module.famous.doctor.convert.casehistory;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.famous.doctor.controller.admin.casehistory.vo.*;
import cn.iocoder.yudao.module.famous.doctor.dal.dataobject.casehistory.CaseHistoryDO;

/**
 * 我的病历 Convert
 *
 * @author 档案
 */
@Mapper
public interface CaseHistoryConvert {

    CaseHistoryConvert INSTANCE = Mappers.getMapper(CaseHistoryConvert.class);

    CaseHistoryDO convert(CaseHistoryCreateReqVO bean);

    CaseHistoryDO convert(CaseHistoryUpdateReqVO bean);

    CaseHistoryRespVO convert(CaseHistoryDO bean);

    List<CaseHistoryRespVO> convertList(List<CaseHistoryDO> list);

    PageResult<CaseHistoryRespVO> convertPage(PageResult<CaseHistoryDO> page);

    List<CaseHistoryExcelVO> convertList02(List<CaseHistoryDO> list);

}
